/**
 * 2019年3月13日 上午10:31:25  
 * richest-api  
 * @author zhaohongchao
 * @version 1.0
 * FoodOrderMapper.java  
 */
package com.richest.api.dao;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.richest.bean.FoodOrderBean;

/**
 * 2019年3月13日 上午10:31:25 richest-api
 * 
 * @author zhaohongchao
 * @version 1.0 FoodOrderMapper.java
 */
public interface FoodOrderMapper {
	void insert(FoodOrderBean foodOrderBean);

	List<Map<String, Object>> selectList(String eatSerialNumber);

	void update(FoodOrderBean foodOrderBean);

	List<String> selectFoodSerialNumberByFoodId(@Param("foodId") String foodId,
			@Param("eatSerialNumber") String eatSerialNumber, @Param("count") Integer count);

	Collection<FoodOrderBean> selectByEatSerialNumber(String eatSerialNumber);
}
